﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "BSiteLearnGameModeBase.generated.h"

/**
 * 
 */
UCLASS()
class BSITELEARN_API ABSiteLearnGameModeBase : public AGameModeBase
{
	GENERATED_BODY()

	ABSiteLearnGameModeBase();

public:

	virtual void BeginPlay() override;

	virtual void Tick(float DealtTime) override;

	void ResetPlayerLocation();
	void ResetPlayerLocation(FVector newLocation);

	void SetCurrentPlayerPos(FVector newlocation);
	
public:
	class ASphereBase * CurrentPlayer;

	FVector CurrentPlayerPos;

	class UWorld * CurrentWorld;
};
